build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)
committerAaron M. Ucko <ucko@debian.org>
Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)
commitc6335dc7a3dc2fbff93586ca5024aa7052bbf439
tree8a725e6014a314b8b8b9109c0b31b5f3e0000f57
parent6cb2dadc3bf5d8f568572392c4b074739f558546
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in